<?php
//驾校培训机构模型
namespace App\Models;


use Illuminate\Database\Eloquent\Model;

class School extends Model
{
    //
    protected $casts = [
        'ele_area' => 'array',
    ];

    /**
     * 所属区域
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function area()
    {
        return $this->belongsTo('App\Models\Area','area_id');
    }



}
